package com.raitcon.hibernate.bean;
// Generated 27/05/2014 07:54:56 AM by Hibernate Tools 3.2.1.GA

import com.raitcon.hibernate.backbean.CicloBean;
import com.raitcon.hibernate.db.CedulaMatriculaDB;
import java.util.List;
import org.apache.log4j.Logger;



public class CedMatriTemp   implements java.io.Serializable {

 protected static Logger log = Logger.getLogger(CedMatriTemp.class); 
  private CedulaMatricula cedulaMatricula;
  private Long  dblNota1;
  private Long  dblNota2;
  private Long  dblNota3;
  private Long  dblNota4;
  private Long  dblNota5;
  private Long  dblNota6;
  private Long  dblNota7;
  private Long  dblNota8;
  private Long  dblNota9;
  private Long  dblNotaDiez;
  private Long  dblNotaOnce;
  private Long  dblNotaDoce;
  private Long  dblNotaTrece;
  private Long  dblNotaCatorce;
  private Long  dblNotaQuince;
  private Long  dblNotaDSeis;
  private List<CedulaMatricula> cedulaMatriculaList;

    public CedMatriTemp() {
    }

	
    /**
     * @param dblNota1 the dblNota1 to set
     */
    public void setDblNota1(Long dblNota1) {
        this.dblNota1 = dblNota1;
    }

    /**
     * @return the dblNota2
     */
    public Long getDblNota2() {
        return dblNota2;
    }

    /**
     * @param dblNota2 the dblNota2 to set
     */
    public void setDblNota2(Long dblNota2) {
        this.dblNota2 = dblNota2;
    }

    /**
     * @return the dblNota3
     */
    public Long getDblNota3() {
        return dblNota3;
    }

    /**
     * @param dblNota3 the dblNota3 to set
     */
    public void setDblNota3(Long dblNota3) {
        this.dblNota3 = dblNota3;
    }

    /**
     * @return the dblNota4
     */
    public Long getDblNota4() {
        
        this.dblNota4 =((getDblNota1()!=null?getDblNota1():0)+(dblNota2!=null?dblNota2:0)+(dblNota3!=null?dblNota3:0))/3;
        return dblNota4;
    }

    /**
     * @param dblNota4 the dblNota4 to set
     */
    public void setDblNota4(Long dblNota4) {
        this.dblNota4 = dblNota4;
    }

    /**
     * @return the dblNota5
     */
    public Long getDblNota5() {
        return dblNota5;
    }

    /**
     * @param dblNota5 the dblNota5 to set
     */
    public void setDblNota5(Long dblNota5) {
        this.dblNota5 = dblNota5;
    }

    /**
     * @return the dblNota6
     */
    public Long getDblNota6() {
        return dblNota6;
    }

    /**
     * @param dblNota6 the dblNota6 to set
     */
    public void setDblNota6(Long dblNota6) {
        this.dblNota6 = dblNota6;
    }

    /**Long
     * @return the dblNota7
     */
    public Long getDblNota7() {
        return dblNota7;
    }

    /**
     * @param dblNota7 the dblNota7 to set
     */
    public void setDblNota7(Long dblNota7) {
        this.dblNota7 = dblNota7;
    }

    /**
     * @return the dblNota8
     */
    public Long getDblNota8() {
         this.dblNota8 =((dblNota5!=null?dblNota5:0)+(dblNota6!=null?dblNota6:0)+(dblNota7!=null?dblNota7:0))/3;
        return dblNota8;
    }

    /**
     * @param dblNota8 the dblNota8 to set
     */
    public void setDblNota8(Long dblNota8) {
        this.dblNota8 = dblNota8;
    }

    /**
     * @return the dblNota9
     */
    public Long getDblNota9() {
        return dblNota9;
    }

    /**
     * @param dblNota9 the dblNota9 to set
     */
    public void setDblNota9(Long dblNota9) {
        this.dblNota9 = dblNota9;
    }

    /**
     * @return the dblNotaDiez
     */
    public Long getDblNotaDiez() {
        return dblNotaDiez;
    }

    /**
     * @param dblNotaDiez the dblNotaDiez to set
     */
    public void setDblNotaDiez(Long dblNotaDiez) {
        this.dblNotaDiez = dblNotaDiez;
    }

    /**
     * @return the dblNotaOnce
     */
    public Long getDblNotaOnce() {
       return dblNotaOnce;
    }

    /**
     * @param dblNotaOnce the dblNotaOnce to set
     */
    public void setDblNotaOnce(Long dblNotaOnce) {
        this.dblNotaOnce = dblNotaOnce;
    }

    /**
     * @return the dblNotaDoce
     */
    public Long getDblNotaDoce() {
        this.dblNotaDoce =((dblNota9!=null?dblNota9:0)+(dblNotaDiez!=null?dblNotaDiez:0)+(dblNotaOnce!=null?dblNotaOnce:0))/3;
        return dblNotaDoce;
    }

    /**
     * @param dblNotaDoce the dblNotaDoce to set
     */
    public void setDblNotaDoce(Long dblNotaDoce) {
        this.dblNotaDoce = dblNotaDoce;
    }

    /**
     * @return the dblNotaTrece
     */
    public Long getDblNotaTrece() {
        return dblNotaTrece;
    }

    /**
     * @param dblNotaTrece the dblNotaTrece to set
     */
    public void setDblNotaTrece(Long dblNotaTrece) {
        this.dblNotaTrece = dblNotaTrece;
    }

    /**
     * @return the dblNotaCatorce
     */
    public Long getDblNotaCatorce() {
        return dblNotaCatorce;
    }

    /**
     * @param dblNotaCatorce the dblNotaCatorce to set
     */
    public void setDblNotaCatorce(Long dblNotaCatorce) {
        this.dblNotaCatorce = dblNotaCatorce;
    }

    /**
     * @return the dblNotaQuince
     */
    public Long getDblNotaQuince() {
        return dblNotaQuince;
    }

    /**
     * @param dblNotaQuince the dblNotaQuince to set
     */
    public void setDblNotaQuince(Long dblNotaQuince) {
        this.dblNotaQuince = dblNotaQuince;
    }

    /**
     * @return the dblNotaDSeis
     */
    public Long getDblNotaDSeis() {
        this.dblNotaDSeis =((dblNotaTrece!=null?dblNotaTrece:0)+(dblNotaCatorce!=null?dblNotaCatorce:0)+(dblNotaQuince!=null?dblNotaQuince:0))/3;
        return dblNotaDSeis;
    }

    /**
     * @param dblNotaDSeis the dblNotaDSeis to set
     */
    public void setDblNotaDSeis(Long dblNotaDSeis) {
        this.dblNotaDSeis = dblNotaDSeis;
    }

    /**
     * @return the cedulaMatricula
     */
    public CedulaMatricula getCedulaMatricula() {
        return cedulaMatricula;
    }

    /**
     * @param cedulaMatricula the cedulaMatricula to set
     */
    public void setCedulaMatricula(CedulaMatricula cedulaMatricula) {
        this.cedulaMatricula = cedulaMatricula;
    }

    

    /**
     * @return the cedulaMatriculaList
     */
    public List<CedulaMatricula> getCedulaMatriculaList() {
        return cedulaMatriculaList;
    }

    /**
     * @param cedulaMatriculaList the cedulaMatriculaList to set
     */
    public void setCedulaMatriculaList(List<CedulaMatricula> cedulaMatriculaList) {
        this.cedulaMatriculaList = cedulaMatriculaList;
    }

    /**
     * @return the dblNota1
     */
    public Long getDblNota1() {
        return dblNota1;
    }

}


